﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace SscLib
{
    /// <summary>
    /// Defines a Method symbol.
    /// </summary>
    public class MethodSymbol : MethodSymbolBase
    {
        /// <summary>Reflection metadata for this Method symbol.</summary>
        public MethodInfo Info;
        public bool Virtual = false;

        /// <summary>
        /// Creates a new Method symbol with name, returning type and containing scope.
        /// </summary>
        /// <param name="name">Method name.</param>
        /// <param name="type">Method returning type.</param>
        internal MethodSymbol(string name, TypeSymbol type)
            : base(name, type)
        {
        }
    }
}
